import formBuilder from "@/comps/form/formBuilder";

import api from './api'

export default function () {
    let fb = formBuilder()
    fb.setLabelPosition("right").setLabelWidth(100)
    fb.addText("name").setLabel("名称").setSpan(3).setTips("名称模糊搜索")
    fb.addSearch("id__in").setLabel("用户").setSpan(6).setApi(api.urlChoice).setIsMultiple()
        .setApiSearchKeys(["account__like","name__like","phone__like"])
    return fb
}